<?php

class Rfq extends Controller {

	function __construct()
	{
		parent::Controller();
		if (!$this->site_sentry->is_logged_in()) {redirect('login/');exit;}
		$this->load->library('calendar');


	}

	function index()
	{
		$data['page_title'] = $this->lang->line('menu_root_system');
		$this->load->view('login_header', $data , false, 'common_assets');
		$this->load->view('index', false, false, 'rfq');
		$this->load->view('login_footer', false , false, 'common_assets');
	}

	function delete()
	{
		$data['page_title'] = $this->lang->line('menu_root_system');
		$this->load->view('index', $data, false, 'rfq');
	}

	function edit()
	{
		$data['page_title'] = $this->lang->line('menu_root_system');
		$this->load->view('index', $data, false, 'rfq');
	}

	function create()
	{
		$data['extraHeadContent'] = "<script type=\"text/javascript\" src=\"". base_url()."js/createinvoice.js\"></script>\n";
		//$data['extraHeadContent'] .= "<script type=\"text/javascript\" src=\"". base_url()."js/jquery-1.2.3.min.js\"></script>\n";
		//$data['extraHeadContent'] .= "<script type=\"text/javascript\" src=\"". base_url()."js/jquery.datePicker.js\"></script>\n";
		//$data['extraHeadContent'] .= "<script type=\"text/javascript\" src=\"". base_url()."js/date.js\"></script>\n";
		//$data['extraHeadContent'] .= "<script type=\"text/javascript\" src=\"". base_url()."js/jquery.bgiframe.js\"></script>\n";
		$data['extraHeadContent'] .= "<script type=\"text/javascript\" src=\"". base_url()."js/datepicker-dev.js\"></script>\n";
		//$data['extraHeadContent'] .= "<link type=\"text/css\" rel=\"stylesheet\" href=\"".base_url()."css/demo.css\" type=\"text/css\" \n />";
		$data['extraHeadContent'] .= "<link type=\"text/css\" rel=\"stylesheet\" href=\"".base_url()."css/datePicker.css\" type=\"text/css\" \n />";
		$data['extraHeadContent'] .= "<link type=\"text/css\" rel=\"stylesheet\" href=\"".base_url()."css/form.css\" type=\"text/css\" \n />";
		$data['page_title'] = $this->lang->line('menu_root_system');
		$this->load->view('login_header', $data , false, 'common_assets');
		$this->load->view('create', false, false, 'rfq');
		$this->load->view('login_footer', false , false, 'common_assets');
		
	}

	function view()
	{
		$data['page_title'] = $this->lang->line('menu_root_system');
		$this->load->view('login_header', $data , false, 'common_assets');
		$this->load->view('index', false, false, 'rfq');
		$this->load->view('login_footer', false , false, 'common_assets');
	}

	function delete_confirmed()
	{

	}

	function retrieve_RFQs()
	{

	}

	function delete_stored_files()
	{

	}
	function merge_response()
	{

	}
	function pdf()
	{

	}
	function export_excel()
	{

	}
	function export_xml()
	{

	}
	function email()
	{

	}
	function fax()
	{

	}
	function all()
	{

	}
	function open()
	{

	}
	function closed()
	{

	}
	function failed()
	{

	}
	function overdue()
	{

	}
	function date_issued()
	{

	}

}

?>
